﻿using ET;
using ProtoBuf;
using System.Collections.Generic;
namespace ET
{
	[ResponseType(nameof(LoginRealmResponse))]
	[Message(ClientOpcode.LoginRealmRequest)]
	[ProtoContract]
	public partial class LoginRealmRequest : Object, IRequest
	{
		[ProtoMember(90)]
		public int RpcId { get; set; }

		[ProtoMember(1)]
		public string Account { get; set; }

		[ProtoMember(2)]
		public string Password { get; set; }

	}

	[Message(ClientOpcode.LoginRealmResponse)]
	[ProtoContract]
	public partial class LoginRealmResponse : Object, IResponse
	{
		[ProtoMember(90)]
		public int RpcId { get; set; }

		[ProtoMember(91)]
		public int Error { get; set; }

		[ProtoMember(92)]
		public string Message { get; set; }

		[ProtoMember(1)]
		public string Address { get; set; }

		[ProtoMember(2)]
		public long GateId { get; set; }

		[ProtoMember(3)]
		public long Token { get; set; }

		[ProtoMember(4)]
		public List<long> Players = new List<long>();

	}

	[ResponseType(nameof(LoginGateResponse))]
	[Message(ClientOpcode.LoginGateRequest)]
	[ProtoContract]
	public partial class LoginGateRequest : Object, IRequest
	{
		[ProtoMember(90)]
		public int RpcId { get; set; }

		[ProtoMember(1)]
		public string Account { get; set; }

		[ProtoMember(2)]
		public long GateId { get; set; }

		[ProtoMember(3)]
		public long PlayerId { get; set; }

		[ProtoMember(4)]
		public long Token { get; set; }

	}

	[Message(ClientOpcode.LoginGateResponse)]
	[ProtoContract]
	public partial class LoginGateResponse : Object, IResponse
	{
		[ProtoMember(90)]
		public int RpcId { get; set; }

		[ProtoMember(91)]
		public int Error { get; set; }

		[ProtoMember(92)]
		public string Message { get; set; }

	}

}
